package com.test.rabbitmq.service.impl;

import com.test.rabbitmq.manager.RabbitMQManager;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @ClassName RabbitMQService
 * @Author lulei
 * @Data 2020/3/12 22:12
 */

@Service
public class RabbitMQServiceImpl {

    @Resource
    RabbitMQManager mqManager;

    public void sendMsg() {
        mqManager.sendMsg();
    }

    public void sendMsgByExchange() {
        mqManager.sendMsgByExchange();
    }
}
